<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<div class="my-8">
    <div class="flex justify-between items-center mb-4">
        <h2 class="text-2xl font-bold">${param.sectionTitle}</h2>
        <a href="${param.moreLink}" class="btn btn-ghost btn-sm">更多 ></a>
    </div>
    <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-4">
<%--        <c:forEach var="card" items="${param.contentItems}">--%>
<%--            <jsp:include page="/include/components/home/recommendation_card.jsp">--%>
<%--                <jsp:param name="card" value="${card}" />--%>
<%--            </jsp:include>--%>
<%--        </c:forEach>--%>
    </div>
</div>
